
# docker springboot
FROM openjdk:8-jre-slim
MAINTAINER zmk "zmk523@163.com"

ENV PARAMS=""


ENV TZ=PRC
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

ADD target/*.jar paul-admin-api.jar

ENTRYPOINT ["sh","-c","java -jar $JAVA_OPTS /paul-admin-api.jar $PARAMS"]